﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GJLib.Gods.yearGods
{
    public class YearGodsChecker
    {

        protected void performChecks(object[] param)
        {
            var ms = this.GetType().GetMembers(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance
            | System.Reflection.BindingFlags.NonPublic);
            foreach (var m in ms)
            {
                if (m.MemberType == System.Reflection.MemberTypes.Method)
                {
                    var mi = m as System.Reflection.MethodInfo;
                    String n = mi.Name;
                    if (n.Contains("getgod_"))
                    {
                        mi.Invoke(this, param);
                    }
                }
            }            
        }

        public void getYearGods(String 年干支, Dictionary<String, String> result)
        {
            performChecks(new object[] { 年干支, result });
        }

        public void getgod_將軍(String yearGanji,Dictionary<String,String> result)
        {

        }
        public void getgod_歲刑(String yearGanji, Dictionary<String, String> result)
        {

        }
        public void getgod_歲破(String yearGanji, Dictionary<String, String> result)
        {

        }
        public void getgod_歲煞(String yearGanji, Dictionary<String, String> result)
        {

        }
        public void getgod_大耗(String yearGanji, Dictionary<String, String> result)
        {

        }
        public void getgod_小耗(String yearGanji, Dictionary<String, String> result)
        {

        }
        public void getgod_喪門(String yearGanji, Dictionary<String, String> result)
        {

        }
        public void getgod_吊客(String yearGanji, Dictionary<String, String> result)
        {

        }
        public void getgod_歲墓(String yearGanji, Dictionary<String, String> result)
        {

        }
        public void getgod_歲德(String yearGanji, Dictionary<String, String> result)
        {

        }
        public void getgod_歲合(String yearGanji, Dictionary<String, String> result)
        {

        }
        public void getgod_年月三煞(String yearGanji, Dictionary<String, String> result)
        {

        }
        public void getgod_金神(String yearGanji, Dictionary<String, String> result)
        {

        }
        public void getgod_歲宅(String yearGanji, Dictionary<String, String> result)
        {

        }
    }
}
